package cn.iocoder.yudao.module.forward.controller.admin.datasourceinfo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 信息源配置新增/修改 Request VO")
@Data
public class DataSourceInfoSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "5496")
    private Integer id;

    @Schema(description = "平台IP")
    private String ip;

    @Schema(description = "平台端口号")
    private Integer port;

    @Schema(description = "客户端ID", example = "14861")
    @NotEmpty(message = "客户端ID为空")
    private String clientId;

    @Schema(description = "客户端用户名", example = "李四")
    @NotEmpty(message = "客户端用户名为空")
    private String username;

    @Schema(description = "客户端密码")
    @NotEmpty(message = "客户端密码为空")
    private String pwd;

    @Schema(description = "注册分组")
    private String groupId;

    @Schema(description = "预警主题（如需多个预警主题,需用英文逗号间隔）")
    private String topicEew;

    @Schema(description = "速报主题（如需多个速报主题,需用英文逗号间隔）")
    private String topicEqr;

    @Schema(description = "第一次回复主题")
    private String topicAckFirst;

    @Schema(description = "第二次回复主题")
    private String topicAckSecond;

    @Schema(description = "信息源ID", example = "3507")
    private Integer sourceId;

}